package com.chixing.day03_oop;

public class Phone {
    //属性
    private int phoneId;
    private String phoneName;
    private String phoneType;
    private int phonePrice;
    //构造函数constructor

    public Phone() {

    }
    public Phone(int id,String name,String type,int price){
        this.phoneId = id;
        this.phoneName = name;
        this.phoneType = type;
        this.phonePrice = price;
    }




    public int getPhoneId() {
        return phoneId;
    }

    public void setPhoneId(int phoneId) {
        this.phoneId = phoneId;
    }

    public String getPhoneName() {
        return phoneName;
    }

    public void setPhoneName(String phoneName) {
        this.phoneName = phoneName;
    }

    public String getPhoneType() {
        return phoneType;
    }

    public void setPhoneType(String phoneType) {
        this.phoneType = phoneType;
    }

    public int getPhonePrice() {
        return phonePrice;
    }

    public void setPhonePrice(int phonePrice) {
        this.phonePrice = phonePrice;
    }


}
